package com.lh.serverforwebrtc.mapper;

import com.lh.serverforwebrtc.bean.UserBean;

public interface UserMapper {
    //
    UserBean findUserByPhone(Long userPhone);

    boolean insertUser(UserBean userBean);

    UserBean findUserById(Long id);

    /**
     *  更新用户信息
     * @param userBean
     * @return
     */
    boolean updateUser(UserBean userBean);

    boolean deleteUserById(Long userId);
}
